#include "Validator.h"
#include "NullPointerException.h"
Validator::Validator(void)
{
	this->model = NULL;
}

Validator::~Validator(void)
{
}

Validator::Validator(const QString& field)
{
	message = "ok";
	this->field = field;
}


void Validator::setModel(korlapAdmin_model* model)
{
	this->model = model;
}

QString Validator::getMessage()
{
	return this->message;
}